<?php

require_once("../../controllers/init.php");
require_once($FILE_SYSTEM_ROOT."/controllers/authentication.php");


$personid = 0;

if (isset($_POST['personid']))
	$personid = $_POST['personid'];

$person = new Person($personid);

if(isset($_POST['firstname']))
	$person->setFirstName($_POST['firstname']);

if(isset($_POST['surname']))
	$person->setSurname($_POST['surname']);









?>